package complex;

/**
 * @Description //TODO
 * @Author Administrator
 * @DATE 2020/10/25 16:43
 **/
public class SpaceComplexity {

    public int o1(int num){
        int i = 0;
        i = i + num;
        return  i;
    }

    public int[] oN(int num){
        int[] a = new int[num];
        for (int i = 0; i < num ; i++) {
            a[i] = 1;
        }
        return a;
    }
}
